package ar.edu.unlam.tpfinal.service;

import java.util.List;

import ar.edu.unlam.tpfinal.service.exceptions.ServiceException;
import ar.edu.unlam.tpfinal.struts.forms.AddressForm;
import ar.edu.unlam.tpfinal.struts.forms.ClientForm;

public interface ClientService {
	public void updateClient(ClientForm clientForm) throws ServiceException;
	public void insertClient(ClientForm clientForm) throws ServiceException;
	public void deleteClient(ClientForm clientForm) throws ServiceException;
	public ClientForm getClient(Long oid) throws ServiceException;
	public List<ClientForm> getAllClients() throws ServiceException;
	public List<AddressForm> getAllAddressesFromClient(Long oid) throws ServiceException;
	public Long findClientOid(ClientForm clientForm) throws ServiceException;
}
